package com.xmy.study.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@TableName("per_student_class_type")
@ApiModel(value = "PerStudentClassType对象", description = "")
@Data
public class PerStudentClassType implements Serializable {
    private Long id;


    private Long schoolId;


    private Long studentId;

    private Long gradeId;

    private Long teacherId;

    private String teacherName;

    private Integer yearPart;

    private Integer quarterNum;

    private Long subjectsId;

    private Long classTypeId;

    private Integer yearClassId;

    private Integer gradeSection;

    private Integer status;

    private Integer readingStatus;

    private Integer isBoutique;


    @ApiModelProperty("添加时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;
}
